/* global cordova, module */
"use strict";

module.exports = {
    showBluetoothConnectScence: function (success, failure) {
    	cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'showBluetoothConnectScence',["参数"]);
    },
    dismissBluetoothConnectScence: function (success, failure) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'dismissBluetoothConnectScence',["参数"]);
    },
    sendData: function (success, failure, data) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'sendData',[data]);
    },
    disConnect: function (success, failure, data) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'disConnect',["参数"]);
    },
    startListenConnected: function (success, failure) {
    	cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'startListenConnected',["参数"]);
    },
    startListenDisconnected: function (success, failure) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'startListenDisconnected',["参数"]);
    },
    startListenReceivedData: function (success, failure) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'startListenReceivedData',["参数"]);
    },
    startListenBackButtonClicked: function (success, failure) {
        cordova.exec(success, failure, 'ocBluetoothConnectHelper', 'startListenBackButtonClicked',["参数"]);
    },
};